package com.scienview.platform.json;

import org.codehaus.jackson.map.annotate.JsonFilter;

import com.scienview.core.util.JackJson;

//@JsonFilter("JsonFilter")
public class Json {

	private boolean success=true;
	private String message;
	private Object result;
	public boolean isSuccess() {
		return success;
	}
	public void setSuccess(boolean success) {
		this.success = success;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public Object getResult() {
		return result;
	}
	public void setResult(Object result) {
		this.result = result;
	}
	
	public String toJson(){
		return JackJson.toJson(this);
	}
	
}
